﻿using System;
using System.Collections.Generic;

namespace SharpObjects.SearchEngine.Common.Search
{
    [Serializable]
    public class ConceptGroup : IConceptGroup
    {
        public ConceptGroup()
        {
            this.Concepts = new List<IConcept>();
        }

        public string Title { get; set; }
        public List<IConcept> Concepts { get; set; }

        public override string ToString()
        {
            return string.Format("{0} ({1})", this.Title, this.Concepts.Count);
        }
    }
}
